home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / lame_src / INSTALL < prev    next >
Encoding:
Text File  |  2000-01-01  |  3.8 KB  |  105 lines

  1. LAME 3.xx    3/00 Mark Taylor (http://www.sulaco.org/mp3)
  2.  
  3.  
  4. =======================================================================
  5. Compile time options
  6. =======================================================================
  7. There are serveral targets which can be built from this
  8. source code:
  9.  
  10. lame/lame.exe   The command line encoder
  11. lame_enc.dll    a Windows DLL used by many GUIs which support lame.
  12. libmp3lame.a    the *NIX style encoding library
  13.  
  14.  
  15. The following compile time options can be used.  For libmp3lame.a
  16. and lame_enc.dll, none are required.  See Makefile for details.
  17.  
  18.  
  19. #define HAVEMPGLIB   to compile in mpglib's mp3 *decoding* capibility
  20. #define HAVEVORBIS   to compile in Vorbis decoding and encoding capibility
  21.  
  22. Exactly one of these is required for the command line encoder:
  23. #define LIBSNDFILE   to use Erik de Castro Lopo's libsndfile
  24. #define LAMESNDFILE  to use LAME's minimial internal sndfile I/O
  25.  
  26. Other options for the command line encoder:
  27. #define HAVEGTK      to compile in the LAME MP3 frame analyzer
  28. #define BRHIST       to allow the optional display of the VBR historgram
  29. #define NOTERMCAP    to try and emulate termcap/ncurses directly (ANSI)
  30.                      only needed if BRHIST is used.  Works under Amiga
  31.                      and Win32.  (but not dos)
  32.  
  33.  
  34.  
  35.  
  36. =======================================================================
  37. Building the MPEG audio encoding software on Windows:
  38. =======================================================================
  39. There are MSVC project files, and a Makefile.MSVC included
  40. with the project.  For production use, be sure to compile
  41. a "release" version and compile with the "maximum speed" compile
  42. option, and #define NDEBUG.   
  43.  
  44. Note that MSVC "professional" claims to produce faster executables
  45. then MSVC "standard".  It is possible to compile the GTK frame
  46. analyzer under windows, see README.WINGTK
  47.  
  48. The Windows Borland C compiler is now free!  Borland will also
  49. compile LAME, although a new makefile is needed.  If you get
  50. this to work, please write a README.BORLAND which I can include
  51. with LAME!
  52.  
  53.  
  54.  
  55. =======================================================================
  56. Building the MPEG audio encoding software on *NIX platforms:
  57. =======================================================================
  58. If you are reading this, you have already applied the patch to the
  59. dist10 ISO demonstration source (or downloaded a full source
  60. distrubtion).  If you do not have GTK 1.1.16 or higher, or do not want
  61. the graphical frame analyzer (it uses a lot of memory), edit the
  62. Makefile and dont define GTK and GTKLIBS.  If you have trouble with
  63. libncurses/libtermcap, you can also disable that in the Makefile.
  64.  
  65. Now just type:
  66.  
  67. % make
  68.  
  69. If it doesn't work, figure out why and send me the fix!  
  70. If you are using a newer version of EGCS, check the Makefile.
  71. There are some flags which may improve performance.
  72.  
  73. LAME has built in support for 16bit raw pcm, aiff and wav
  74. formats.  If you want to encode from other sound formats, you can
  75. compile LAME to use Erik de Castro Lopo's libsndfile.  To use
  76. libsndfile in LAME:
  77.  
  78.   1. install libsndfile (see http://www.zip.com.au/~erikd/libsndfile/).  
  79.   2. set SNDLIB and LIBSNDFILE as shown in the LAME Makefile.  
  80.   3. make clean ; make
  81.  
  82. Thanks to Albert Faber for adding the libsndfile support!
  83.  
  84. LAME can also be compiled into a BladeEnc compatiable MS Windows .dll 
  85. file.  See the Dll/ directory for details. 
  86.  
  87.  
  88.  
  89. =======================================================================
  90. To encode:
  91. =======================================================================
  92. see the file "USAGE" for some usage guidlines.
  93.  
  94.  
  95.  
  96. =======================================================================
  97. Portability
  98. =======================================================================
  99. LAME 3.x has been run on every modern OS.  see the Makefile.
  100.  
  101.  
  102.  
  103.  
  104.  
  105.